/**      
 * @file		arraysOfObj.cpp
 * @description		This sample demonstrates arrays of Objects.
 * @course		CSCI 123 Section 00000
 * @assignment 
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
#include "Circle.h"
using namespace std;

/**
 * @return zero if the application executes successfully
 */
int main() {
	
	Circle myCircles[5];
	cout << "Getting Circles Array\n";
	cout << "Please type 5 radii\n";

	for(int i = 0; i < 5; i++) {
		cout << (i+1) << ". ";
		cin >> myCircles[i];		// this works because we've
						// overloaded the >>
	}

	cout << "Your circle radii are: \n";
	for(int i = 0; i < 5; i++) {
		cout << (i+1) << ". ";
		cout << myCircles[i] << endl;	// this works because we've
						// overloaded the <<
	}

	cout << "Outputting your radii with the getRadius() function: \n";
	for(int i = 0; i < 5; i++) {
		cout << (i+1) << ". ";
		cout << myCircles[i].getRadius() << endl;
	}

	return 0;
}

